# $Id$
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Bastien Dejean <baskerville@lavabit.com>

pkgname=libunicodenames
pkgver=1.2.0
pkgrel=1
pkgdesc='Library for retrieving Unicode annotation data'
url='https://bitbucket.org/sortsmill/libunicodenames'
arch=('i686' 'x86_64')
license=('GPL3')
makedepends=('wget')
source=("http://downloads.sourceforge.net/project/sortsmill/${pkgname}/${pkgname}-${pkgver}.tar.xz")
sha1sums=('fad3091a46094aa3c1e646f54c3ae8da9a501af8')

build() {
	cd ${pkgname}-${pkgver}
	./configure --prefix=/usr --libexecdir=/usr/lib
	make PREFIX=/usr
}

package() {
	cd ${pkgname}-${pkgver}
	make PREFIX=/usr DESTDIR="${pkgdir}" install
}
